﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/Site.Master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="Warehouse.Web.Sales.Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

    <script type="text/javascript">
        function frmContent_Loaded() {
            $("#frmContent").css("visibility", "visible");
        }
        $(function() {
            $("#modulelist a").click(function() {
                $("#frmContent").css("visibility", "hidden");
            });
        });
    </script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder_Banner" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder_LeftNav" runat="server">
    <h3>
        销售管理</h3>
    <ul id="modulelist">
        <uc:AuthorityControl ID="AuthorityControl1" runat="server" TargetPage="/Sales/Bills.aspx"
            Action="View">
            <li>
                <asp:HyperLink ID="HyperLink2" NavigateUrl="Bills.aspx" runat="server" Target="frmContent">单据录入</asp:HyperLink></li>
        </uc:AuthorityControl>
        <uc:AuthorityControl ID="AuthorityControl2" runat="server" TargetPage="/Sales/BillList.aspx"
            Action="View">
            <li>
                <asp:HyperLink ID="HyperLink4" NavigateUrl="BillList.aspx" runat="server" Target="frmContent">单据查询</asp:HyperLink></li>
        </uc:AuthorityControl>
        <uc:AuthorityControl ID="AuthorityControl3" runat="server" TargetPage="/Sales/BillHistory.aspx"
            Action="View">
            <li>
                <asp:HyperLink ID="HyperLink5" NavigateUrl="BillHistory.aspx" runat="server" Target="frmContent">往来对账</asp:HyperLink></li>
        </uc:AuthorityControl>
    </ul>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder_Content" runat="server">
    <iframe id="frmContent" name="frmContent" class="frmContent" src="Bills.aspx" frameborder="0"
        width="100%" height="100%" onload="frmContent_Loaded();"></iframe>
</asp:Content>
